<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>商品详情-书剑古茶,书剑普洱,云南普洱,书剑普洱江湖,书剑江湖,云南书剑茶叶有限公司，书剑普洱江湖官方网站-书剑古茶官方网站</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="format-detection" content="telephone=no">
	<meta name="keywords" content="书剑古茶,书剑普洱,云南普洱,书剑普洱江湖,书剑江湖,云南书剑茶叶有限公司，书剑普洱江湖官方网站-书剑古茶官方网站" />
	<meta name="description" content="书剑古茶,书剑普洱,云南普洱,书剑普洱江湖,书剑江湖,云南书剑茶叶有限公司，书剑普洱江湖官方网站-书剑古茶官方网站"/>
	<link rel="stylesheet" type="text/css" href="../css/reset.css">
	<link rel="stylesheet" type="text/css" href="../css/main.css">
	<link rel="stylesheet" type="text/css" href="../css/child.css">
</head>
<body>
	<header id="header"></header>
	<div id="product_detail_wp">
		<div class="content">
			<div class="pddetail-cnt">

			</div>
			<div id="fixed-tab-pannel" style="background: #f5f5f5;padding-top: 2px;">
				<div class="pddc-gray-warp" style="margin: 10px 0">
					<a href=""  class="pddetail-go-title clearfix">
	                    <span class="pgt-title fleft" style="width: 100%;text-align: center;">
	                        图文详情
	                    </span>
					</a>
				</div>
				<div class="fixed-tab-pannel">
				</div>
			</div>
		</div>
	</div>
	<footer id="footer"></footer>
	<script type="text/html" id="product_detail">
		<div class="pddc-topwp">
			<a href="javascript:void(0);" class="pddct-imgwp">
				<div id='mySwipe'class='swiper-container'>
					<div class='swipe-wrap'>
						<% for(var i =0;i<goods_image.length;i++){　%>
						<div class="swipe-item"><img src="<%=goods_image[i]%>"/></div>
						<%}%>
					</div>
				</div>
				<div class="pddct-shadow"></div>
				<div class="pddct-name-wp">
					<div class="pddctnw-name">
						<%=goods_info.goods_name%>
					</div>
				</div>
				<span class="pd-collect">收藏</span>
				<span class="pdpic-size-bg"></span>
						<span class="pdpic-size">
							<span class="pds-cursize">1</span>
							/
							<span class="pds-tsize"><%=goods_image.length%></span>
						</span>
			</a>
		</div>
		<%var isBuy=goods_info.goods_state==1&&goods_info.goods_verify==1;%>
		<div class="pddc-property-one pddc-gray-warp">
			<div class="pddcp-one-wp ppdc-white-wrap">
				<div class="pddcp-one-top">
					<ul>
						<li class="clearfix">
							<span class="key">建议零售价：</span>
							<div class="price value">￥<%=goods_info.goods_marketprice%><span style="color: #909090;padding-left: 0.5em;">1<%=goods_info.goods_storage_unit[1]%></span></div>
						</li>
						<%if(isBuy){
						if(isLogin){%>
						<%for(var channel_id in goods_info.goods_channel_prices){%>
						<%if(member_channel.in_array(channel_id)){%>
						<li class="clearfix">
							<span class="key"><%=goods_info.member_channels[channel_id].member_level.price_name%>：</span>
							<div class="price value">￥<%=goods_info.goods_channel_prices[channel_id].price%><span style="color: #909090;padding-left: 0.5em;">1<%=goods_info.goods_storage_unit[2]%></span></div>
						</li>
						<%}%>
						<%}%>
						<%}else{%>
						<li class="clearfix" style="color: red;">
							请登录后查看会员价
						</li>
						<%}}%>
						<li class="clearfix">
							<span class="key">规格：</span>
							<div class="value"><%=goods_info.goods_storage_unit[3]%></div>
						</li>
					</ul>
					<div class="pddcp-arrow">
						<span class="graydownarrow"></span>
					</div>
				</div>
				<div class="pddcp-one-hide">
					<div class="clearfix">
						<span class="key">商品描述：</span>
					</div>
					<p>
						<% if(goods_info.goods_jingle.length <=0){%>
						暂无商品描述
						<%}else{%>
						<%=goods_info.goods_jingle%>
						<%}%>
					</p>
				</div>
			</div>
		</div>
		<%if(mansong_info||(mansong_info&&mansong_info.rules.length)){%>
		<div class="pddc-gray-warp">
			<ul class="pddc-active ppdc-white-wrap">
				<%if(mansong_info){%>
				<li class="clearfix">
					<span class="key">活动名称：</span>
					<div class="value">
						<%=mansong_info.mansong_name%>
					</div>
				</li>
				<%}%>
				<%if(mansong_info&&mansong_info.rules.length){%>
				<li class="bd-tdashed-dd">
					<span class="no-key">活动描述：</span>
					<%for (var i =0;i<mansong_info.rules.length;i++){%>
					<div class="no-value mt5">
						单笔订单满<span class="clr-d94 mr5 ml5"><%=mansong_info.rules[i].price%></span>元，立减<span class="clr-green mr5 ml5"><%=mansong_info.rules[i].discount%></span>元，送礼品：
						<p class="">
							<img src="<%=mansong_info.rules[i].goods_image_url%>"/>
						<p>
					</div>
					<%}%>
				</li>
				<%}%>
			</ul>
		</div>
		<%}%>
		<div class="pddc-gray-warp">
			<%if(goods_info.goods_state==1&&goods_info.goods_verify==1){%>
			<ul class="pddc-stock ppdc-white-wrap">
				<li class="pddc-stock-title clearfix">
					<span class="key">库存：</span>
					<div class="price value">
						<% var storage=goods_info.goods_storage_virtual>1?goods_info.goods_storage_virtual:goods_info.goods_storage;
						if(goods_info.goods_storage_show>0){%>
							<span class="stock-num">
								<%if(storage>1){%>
									<%=storage>100?'充裕':'紧张'%>
								<%}else{%>
									不足
								<%}%>
							</span>
						<%}else{%>
							<span class="stock-num"><%=storage%></span>
							<%=goods_info.goods_storage_unit[1]%>
						<%}%>
					</div>
				</li>
				<% if(goods_map_spec.length>0){%>
				<% for(var i =0;i<goods_map_spec.length;i++){%>
				<li class="pddc-stock-spec bd-tdashed-dd">
							<span class="key-no" spec_id="<%=goods_map_spec[i].id%>">
								<%=goods_map_spec[i].goods_spec_name%>：
							</span>
					<div class="value-no mt10">
						<%for(var j = 0;j<goods_map_spec[i].goods_spec_value.length;j++){%>
						<a href="javascript:void(0);" <%if (goods_info.goods_spec[goods_map_spec[i].goods_spec_value[j].specs_value_id]){%> class="current" <%}%>specs_value_id = "<%=goods_map_spec[i].goods_spec_value[j].specs_value_id%>">
						<%=goods_map_spec[i].goods_spec_value[j].specs_value_name%>
						<i class="pd-choice-icon"></i>
						</a>
						<%}%>
					</div>
				</li>
				<%}%>
				<%}%>
				<li class="bd-tdashed-dd">
							<span class="key-no">
								数量：
							</span>
					<div class="value-no mt10 clearfix">
								<span class="minus-wp fleft">
										<span class="i-minus"></span>
								</span>
						<input type="text" class="buy-num fleft" id="buynum" value="1"/>
								<span class="add-wp fleft">
									<span class="i-add"></span>
								</span>
					</div>
				</li>
			</ul>
			<div class="opera-product-wp product_buy_bar">
				<div class="opera-pd-item buy-now">立即购买</div>
				<%if(goods_info.promotion_type!='groupbuy'){%>
				<div class="opera-pd-item add-to-cart">加入购物车</div>
				<%}%>
			</div>
			<%}else{%>
				<div style="text-align: center;color: yellowgreen;">商品已售罄或未上架</div>
			<%}%>
		</div>
	</script>
	<script type="text/javascript" src="../js/zepto.min.js"></script>
	<script type="text/javascript" src="../js/config.js"></script>
	<script type="text/javascript" src="../js/template.js"></script>
	<script type="text/javascript" src="../js/swipe.js"></script>
	<script type="text/javascript" src="../js/common.js"></script>
	<script type="text/javascript" src="../js/simple-plugin.js"></script>
	<script type="text/javascript" src="../js/tmpl/common-shop-top.js"></script>
	<script type="text/javascript" src="../js/tmpl/shop-footer.js"></script>
	<script type="text/javascript" src="../js/tmpl/product_detail.js"></script>
</body>
</html>